package cn.ift8.h.domain.one2many.doubleWay;

import java.io.Serializable;
import java.util.Set;

/**
 * Created by ZJI on 2015/8/7.
 */
public class Student implements Serializable {
    private Long sid;
    private String sname;

    public Set<Classes> getClassess() {
        return classess;
    }

    public void setClassess(Set<Classes> classess) {
        this.classess = classess;
    }

    private Set<Classes> classess;

    public Long getSid() {
        return sid;
    }

    public void setSid(Long sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }
    @Override
    public String toString() {
        return "Student{" +
                "sId=" + sid +
                ", sName='" + sname + '\'' +
                '}';
    }
}
